<template>
    <div>
        <div class="cluster"><div>{{ extData.title }}<br />{{ context.count }}</div></div>
    </div>
</template>
<script>
export default {
    name: "marker-cluster",
    props: {
        context: {},
        extData: {}
    }
};
</script>
<style scoped>
.cluster {
    display: flex;
    /*实现垂直居中*/
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    font-size:14px;
    background-color: rgba(0, 0, 255, 0.7);
    color: rgba(255, 255, 255, 1);
}
.cluster>div{
    padding:0px 10px;
}
.cluster1 {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(245, 9, 9, 1);
    border: 0px;
    text-align: center;
}
</style>
